package com.maycurobj.util.opdca;

import java.util.HashMap;
import java.util.Map;

public class OpdcaUtil {

    /**
     * 定义统一返回标准
     * @return
     */
    public static Map<String,Object> resultMap(String code, String message, Object data){
        Map<String, Object> map = new HashMap<>();
        map.put("code",code);
        map.put("message", message);
        map.put("data",data);
        return map;
    }


}
